<script setup>
import { inject } from 'vue';
import GrandSon from './GrandSon.vue';

const money = inject('money')
</script>

<template>
    <h1>我是子组件</h1>
    <h1>{{ money }}</h1>

    <hr>
    <GrandSon></GrandSon>
</template>
